<style>
<!--
.left{ float:left;}
.pop { text-align: left; width: 100%; font-size: 12px; }
.pop .tit { background-image: url(images/pop_tit.jpg); background-repeat: repeat-x; line-height: 27px; border: 1px solid #3a84c3; margin: 1px; font-weight: bold; color: #FFFFFF; padding-left: 5px; }
.pop .con { padding: 5px; padding-bottom:2px;}
.pop .con .msg { background-color: #fffff5; border: 1px solid #ffe361; color: #FF0000; padding: 5px; margin-bottom: 5px; }
.pop .btm { background-color: #eeeeee; text-align: right; padding: 5px; clear: both; }
.gd { overflow: auto; border: 1px solid #C6DDEE; height: 140px; line-height: 25px; padding: 5px; width: 95%; }
-->
</style>
  <script>
$( document ).ready( function(){
									$('#cate_yes').click(function(){
														deleteAll({$_GET['id']});
														$.tbox.close();
							});
							
							$('#cate_no').click(function(){
																																				$.tbox.close();
																																				});
    });
function deleteAll( formCate ){
  switch ( true ){
    case $( '#radio1' ).attr( 'checked' ):
      deleteCategoryBlog( $( '#select' ).val(),formCate )
      break;
      case $( '#radio2' ).attr( 'checked' ):
      $( '#select' ).attr( 'disabled',true );
      deleteCategoryBlog( "",formCate );
      break;
  }
}
</script>
<div class="pop">
  <div class="con">
    <div class="msg">{:L('blog_delete_category_info3')}{$_GET['count']}{:L('blog_delete_category_info2')}</div>
    <div class="clear OverH">
      <div class="left" style="width:60%;">
        <input type="radio" name="radio" id="radio1" value="radio" checked />
        {:L('blog_delete_category_change')} <br />
        <input type="radio" name="radio" id="radio2" value="radio" />
        {:L('blog_delete_category_info')} </div>
      <div class="left" style="width:40%">
        <select name="select" id="select">
          <volist name="category" id="vo"> <option value="{$vo['id']}" 
            <eq name="vo.name" value="{:L('blog_delete_category_default')}">selected</eq>
            >{$vo['name']}
            </option>
          </volist>
        </select>
      </div>
    </div>
  </div>
</div>